/****************************************************/
// Theme name: Nexus - Bootstrap Admin Template
// Theme URI: http://nexus.lethemes.net/1.0/html/
// Description: Nexus is a fully responsive admin dashboard template
// Tags: admin, admin dashboard, cms, crm, project managerment, responsive, webapp, backend, bootstrap admin, responsive admin
// Author: Loi Le
// Version: 1.0
/****************************************************/

$(document).on('click', '.call-animation-flip', function() {
    $('.show-animation-flip').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-flip');
});
$(document).on('click', '.call-animation-fade-in', function() {
    $('.show-animation-fade-in').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-fade-in');
});
$(document).on('click', '.call-animation-fade-out', function() {
    $('.show-animation-fade-out').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-fade-out');
});
$(document).on('click', '.call-animation-bounce', function() {
    $('.show-animation-bounce').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-bounce');
});
$(document).on('click', '.call-animation-rotate', function() {
    $('.show-animation-rotate').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-rotate');
});
$(document).on('click', '.call-animation-special', function() {
    $('.show-animation-special').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-special');
});
$(document).on('click', '.call-animation-attribute', function() {
    $('.show-animation-attribute').attr({
        'data-animation': $(this).attr('data-animation'),
        'data-duration': $(this).attr('data-duration') || .3,
        'data-iterate': $(this).attr('data-iterate') || 1,
        'data-timing': $(this).attr('data-timing') || 'linear',
        'data-keep': $(this).attr('data-keep') || false,
    });
    animoJS('.show-animation-attribute');
});